﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TZUpLoadFile.aspx.cs" Inherits="GPCSC.Web.SHFW.TZUpLoadFile" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
        <title>淮安市领导干部下基层活动网站</title>
<meta name="KEYWords" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
<meta name="DEscription" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
</head>
<body>
    <form id="form1" runat="server">
 <ext:PageManager ID="PageManager1" AutoSizePanelID="Panel7" runat="server" />
    <ext:Panel ID="Panel7" runat="server" EnableBackgroundColor="true" BodyPadding="3px"
        EnableLargeHeader="true" Title="附件上传" ShowBorder="false" ShowHeader="True" Layout="VBox"
        BoxConfigAlign="Stretch">
        <Items>
            <ext:Form ID="Form5" ShowBorder="False" BodyPadding="5px" EnableBackgroundColor="true"
                ShowHeader="False" runat="server" >
                <Rows>
                    <ext:FormRow>
                        <Items>
<ext:FileUpload runat="server" ID="filePhoto" EmptyText="请选择文件" Label="文件浏览" Required="true"
                ShowRedStar="true" >
               

            </ext:FileUpload>
             <ext:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" ValidateForms="Form5"
                Text="上传">
            </ext:Button>

                    </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                    <Items>
                    <ext:Grid ID="Grid1" Title="附件列表" PageSize="10" ShowBorder="true" ShowHeader="true"
        AutoHeight="true" AllowPaging="true" runat="server" EnableCheckBoxSelect="True"
        Width="500px" DataKeyNames="ID" OnPageIndexChange="Grid1_PageIndexChange" Height="400px"
        EnableRowNumber="True">
           <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                  
                    <ext:Button ID="btnDelete" Text="删除选中项" Icon="Delete" ConfirmText="您确认删除吗?" ConfirmTarget="Self"  OnClick="btnDelete_Click" runat="server">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Columns>
            <ext:BoundField Width="200px" DataField="filename" DataFormatString="{0}" HeaderText="附件名称" />
            <ext:BoundField Width="200px" DataField="tjdate" DataFormatString="{0:yy-MM-dd}" HeaderText="添加时间" />
        </Columns>
    </ext:Grid>

    </Items>

                    </ext:FormRow>
                    <ext:FormRow>
                    <Items>
                         <ext:Label ID="labResult" EncodeText="false" runat="server">
    </ext:Label>
                    </Items>
                    </ext:FormRow>

                </Rows>
            </ext:Form>
            </Items>
            </ext:Panel>
    </form>
</body>
</html>
